home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950726-19950929 / 000202_news@columbia.edu_Tue Aug 22 16:54:16 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA17870
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 22 Aug 1995 13:40:50 -0400
  3. Received: by apakabar.cc.columbia.edu id AA04751
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 22 Aug 1995 13:40:48 -0400
  5. Path: news.columbia.edu!panix!news.mathworks.com!gatech!news.sprintlink.net!in1.uu.net!ftpbox!mothost!newdelph.cig.mot.com!tapir!broezell
  6. From: broezell@tapir.cig.mot.com (Ken V. Broezell)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Marco Not Being Set
  9. Date: 22 Aug 1995 16:54:16 GMT
  10. Organization: Motorola Inc., Cellular Infrastructure Group
  11. Lines: 130
  12. Distribution: inet
  13. Message-Id: <41d23o$gli@newdelph.cig.mot.com>
  14. Nntp-Posting-Host: tapir.rtsg.mot.com
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. When using the standard .kermrc file (ckermit.ini) I find that the
  18. built in Macro UNIXLOGIN is not being set. If I do a show macros
  19. I get the following output:
  20.  
  21. Macros:
  22.  
  23. _dialdir = /home/tapir/broezell/.kdd
  24.  
  25. _forx = _assign _for\v(cmdlevel) { _getargs,-
  26.  define \\\%1 \%2,-
  27.  :top,-
  28.  if \%5 \\\%1 \%3 goto bot,-
  29.  \%6,-
  30.  :inc,-
  31.  incr \\\%1 \%4,-
  32.  goto top,-
  33.  :bot,-
  34.  _putargs},-
  35.  def break goto bot,-
  36.  def continue goto inc,-
  37.  do _for\v(cmdlevel) \%1 \%2 \%3 \%4 { \%5 },-
  38.  _assign _for\v(cmdlevel)
  39.  
  40. _myinit = /home/tapir/broezell/.mykermrc
  41.  
  42. _send = asg \%9 \ffiles(\%1),-
  43. if = 0 \%9 end 1 {\?File not found},-
  44.  if = 1 \%9 send \%1 \%2,-
  45.  else send \%1
  46.  
  47. _servicedir = /home/tapir/broezell/.ksd
  48.  
  49. _while = _assign _whi\v(cmdlevel) {_getargs,-
  50.  :inc,-
  51.  \%1,-
  52.  \%2,-
  53.  goto inc,-
  54.  :bot,-
  55.  _putargs},-
  56.  _def break goto bot,-
  57.  _def continue goto inc,-
  58.  do _whi\v(cmdlevel),-
  59.  _assign _whi\v(cmdlevel)
  60.  
  61. _xif = _assign _if\v(cmdlevel) {_getargs,-
  62.  \%1,-
  63.  _putargs},-
  64.  do _if\v(cmdlevel),-
  65. _assign _if\v(cmdlevel)
  66.  
  67. access = echo { Services directory not available.}
  68.  
  69. bget = remote set file type binary,-
  70.  if success get \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8
  71.  
  72. binary = set file type binary
  73.  
  74. bsend = binary,-
  75.  _send \%1 \%2
  76.  
  77. edit = if = \v(argc) 2 assign myfile \%1,-
  78.  if not def myfile echo Edit what?,-
  79.  else run \m(myeditor) \m(myfile)
  80.  
  81. fast = ech FAST file transfer settings - use at your own risk...,-
  82.  set win 5,-
  83.  set rec packet 5000,-
  84.  set contr u all,-
  85.  set con p 0 1 3 13 17 19 129 141 145 147
  86.  
  87. fatal = if def \%1 echo \%1,-
  88. if not = \v(local) 0 hangup,-
  89.  stop 1
  90.  
  91. ibm-linemode = set parity mark,-
  92.  set dupl half,-
  93.  set handsh xon,-
  94.  set flow none
  95.  
  96. list = echo { Services directory not available.}
  97.  
  98. myeditor = vi
  99.  
  100. myfile = .kermrc
  101.  
  102. pcget = apc server,-
  103.  msleep 200,-
  104.  if not eq "\v(ftype)" "" remote set file type \v(ftype),-
  105.  xif def \%2 {     get,-
  106.  \%1,-
  107.  \%2,-
  108.  asg _tmp \v(status)   } else {     get \%1,-
  109.  asg _tmp \v(status)   },-
  110. fin,-  
  111.  end \m(_tmp)
  112.  
  113. pcsend = asg \%9 \ffiles(\%1),-
  114.  if = 0 \%9 end 1 {\?File not found},-
  115.  set delay 1,-
  116.  apc receive,-
  117.  if = 1 \%9 send \%1 \%2,-
  118.  else send \%1
  119.  
  120. robust = set win 1,-
  121.  set rec packet 90,-
  122.  set con p all
  123.  
  124. text = set file type text
  125.  
  126. tget = remote set file type text,-
  127.  if success get \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8
  128.  
  129. tsend = text,-
  130.  _send \%1 \%2
  131.  
  132. vtprint = echo \27[5i,-
  133. type \%1,-
  134.  echo \27[4i
  135.  
  136.  
  137.  
  138.  
  139.  
  140. Entering UNIXLOGIN gives the following:
  141.  
  142. ?No keywords match - unixlogin
  143.  
  144. Am I doing something wrong here?
  145.  
  146. Thanks